cmake_minimum_required(VERSION 3.7)
project(ply2off)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})

set(CMAKE_CXX_STANDARD 11)

find_package(GLOG 0.3.5 REQUIRED)
message( STATUS "glog lib = '${GLOG_LIBRARIES}'")

set(SOURCE_FILES main.cpp)
add_executable(ply2off ${SOURCE_FILES})
target_link_libraries(ply2off glog)